<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
</head>
<body>
<script type="text/javascript">
	//1个盒子里有20个鸡蛋 当用户输入鸡蛋数，求需要多少个盒子

	let number = prompt('输入鸡蛋：')
	let box = parseInt(number / 20)
	let yu = egg % 20

	let rem = yu > 0
	console.log("需要",num + rem)
	// if(number %20 == 0){
	// 	box=box
	// }else{
	// 	box+=1
	// }
	// alert(box)

	//假设今天周四，1000天之后，周几
	let num2=3
	let num1=1000%7
	let num = num1 + num2
	document.write(`1000天之后为周${num%7+1}`)

</script>
</body>
</html>